/**
 * Created by yangfan on 2016/11/25.
 */
define(['config/appregister',"i18n","jquery"],function(app,i18n,$){
    app.directive("tipMessage",function(){
        return {
            replace:true,
            template:'<div class="validat-message-box clearfix">'+ '<p  ng-show="basicForm.height.$invalid && !basicForm.height.$pristine" >'+'请输入正确的身高 如180'+'</p>'+'</div>',
            link:function(scope,element,attrs){

            }
        }
    })
        //.directive("ui-select",function(){
        //    return {
        //        templateUrl:"app/business/servces/comComponents/uiSelect.html",
        //        scope:{
        //            model:"=selectModel",
        //            value:"=selectValue"
        //        },
        //        link:function(scope,element,attrs){
        //            if(scope.value == ""){
        //                scope.value = "请选择";
        //            }
        //            scope.isShow = false;
        //            scope.changeShow = function(){
        //                scope.isShow = !scope.isShow;
        //            };
        //            scope.clickSelect = function(item){
        //                scope.value= item;
        //                scope.isShow = false;
        //            };
        //        }
        //    }
        //})
});